Optimal. Leaf size=30 \[ a \log (x)-\frac {1}{4} b \text {PolyLog}\left (2,-c x^2\right )+\frac {1}{4} b \text {PolyLog}\left (2,c x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {6035, 6031}
\begin {gather*} a \log (x)-\frac {1}{4} b \text {Li}_2\left (-c x^2\right )+\frac {1}{4} b \text {Li}_2\left (c x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6031
Rule 6035
Rubi steps
\begin {align*} \int \frac {a+b \tanh ^{-1}\left (c x^2\right )}{x} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {a+b \tanh ^{-1}(c x)}{x} \, dx,x,x^2\right )\\ &=a \log (x)-\frac {1}{4} b \text {Li}_2\left (-c x^2\right )+\frac {1}{4} b \text {Li}_2\left (c x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 28, normalized size = 0.93 \begin {gather*} a \log (x)+\frac {1}{4} b \left (-\text {PolyLog}\left (2,-c x^2\right )+\text {PolyLog}\left (2,c x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(123\) vs.
\(2(26)=52\).
time = 0.05, size = 124, normalized size = 4.13
method | result | size |
default | \(a \ln \left (x \right )+b \ln \left (x \right ) \arctanh \left (c \,x^{2}\right )+\frac {b \ln \left (x \right ) \ln \left (1-x \sqrt {c}\right )}{2}+\frac {b \ln \left (x \right ) \ln \left (1+x \sqrt {c}\right )}{2}+\frac {b \dilog \left (1-x \sqrt {c}\right )}{2}+\frac {b \dilog \left (1+x \sqrt {c}\right )}{2}-\frac {b \ln \left (x \right ) \ln \left (1+x \sqrt {-c}\right )}{2}-\frac {b \ln \left (x \right ) \ln \left (1-x \sqrt {-c}\right )}{2}-\frac {b \dilog \left (1+x \sqrt {-c}\right )}{2}-\frac {b \dilog \left (1-x \sqrt {-c}\right )}{2}\) | \(124\) |
risch | \(a \ln \left (x \right )+\frac {b \ln \left (x \right ) \ln \left (1-x \sqrt {c}\right )}{2}+\frac {b \ln \left (x \right ) \ln \left (1+x \sqrt {c}\right )}{2}-\frac {\ln \left (x \right ) \ln \left (-c \,x^{2}+1\right ) b}{2}+\frac {b \dilog \left (1-x \sqrt {c}\right )}{2}+\frac {b \dilog \left (1+x \sqrt {c}\right )}{2}+\frac {\ln \left (x \right ) \ln \left (c \,x^{2}+1\right ) b}{2}-\frac {b \ln \left (x \right ) \ln \left (1+x \sqrt {-c}\right )}{2}-\frac {b \ln \left (x \right ) \ln \left (1-x \sqrt {-c}\right )}{2}-\frac {b \dilog \left (1+x \sqrt {-c}\right )}{2}-\frac {b \dilog \left (1-x \sqrt {-c}\right )}{2}\) | \(141\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {atanh}{\left (c x^{2} \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {a+b\,\mathrm {atanh}\left (c\,x^2\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________